import request from "@/axios"

//根据日期查询记录
export function searchCommission(year,month) {
    let url = `/api/account/commission?year=${year}&month=${month}`
    /*let param = {
        year,
        month
    }*/
    return request.get(url)
}

//查询粉丝数与推广数
export function searchFansNum(){
    let url = 'api/user/nowUserInfo'
    return request.get(url)
}
